﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace Nighthawk
{
    class WebsiteContentResolve
    {
        public WebsiteContentResolve()
        {
        }
        public string[] GetGoogleSearch(string url)
        {
            string strRegex = @"(?:\+|\&safe=off|#q=|\&safe=on)";
            RegexOptions myRegexOptions = RegexOptions.None;
            Regex myRegex = new Regex(strRegex, myRegexOptions);
            string strTargetString = @""+url+"";

            return myRegex.Split(strTargetString);
        }

    }
}
